﻿<%@ Page Title="大乐透和值走势图" Language="C#" MasterPageFile="~/APP_Master/MasterPage.master" AutoEventWireup="true" CodeFile="dlthzzs.aspx.cs" Inherits="dlthzzs" %>

<%@ Register src="APP_Controls/Dianping.ascx" tagname="Dianping" tagprefix="uc1" %>
<%@ Register src="~/APP_Controls/dltZouShi.ascx" tagname="ZouShi" tagprefix="uc2" %>
<%@ Register src="APP_Controls/Friend.ascx" tagname="Friend" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--GreenNav-->
<div class="nav_green">
	<div class="cookie">
    	您现在所在位置：<a href="Default.aspx">首页</a> > 走势图 > 大乐透和值走势图
    </div>
    <ul class="g_nav">
    	<li><a href="" class="g_cur">走势图表</a></li>
        <%--<li><a href="">杀号定胆</a></li>--%>
    </ul>
</div>
<!--GreenNav-->
<h2 class="zoushi_t">大乐透和值走势图</h2>
<!--Content-->
<div class="zhoushi">
	<!--Title-->
    <div class="zhoushi_title">
    	<div class="zs_t_box">
            选择：
            <asp:DropDownList ID="DropDownList1" runat="server" >
            <asp:ListItem Value="30">最近30期</asp:ListItem>
            <asp:ListItem Value="50">最近50期</asp:ListItem>
            </asp:DropDownList>
      </div>
      <div class="zs_t_box">
        红球号码按
          <asp:DropDownList ID="DropDownList2" runat="server">
            <asp:ListItem>摇奖顺序</asp:ListItem>
          </asp:DropDownList>
       </div>
      <%--<div class="zs_t_box">
        红球走势按
          <asp:DropDownList ID="DropDownList3" runat="server">
            <asp:ListItem>11</asp:ListItem>
          </asp:DropDownList>
        </div>--%>
      <div class="zs_t_box">
        <%--列进行分区--%>
        <asp:Button ID="Button1" runat="server" Text="开始查看"  class="red_link" 
              onclick="Button1_Click"/> 
        </div>
    </div>
    <!--Title-->
    <!--Zoushi-->
    <div class="zs_table">
    	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_tt">
        	<tr>
                <td rowspan="3" class="w55" style="width:58px">期号</td>
            	<td rowspan="7" class="w55" style="width:168px">开奖号码</td> 
            	<td rowspan="2" class="w55" style="width:27px">和值</td> 
            	<td colspan="15" class="w55">和值</td>
            	<td colspan="10" class="w55">和值尾号</td> 
            </tr>
        	<tr> 
              <td class="w22" style="width:22px">15+</td>
        	  <td class="w22" style="width:22px">40+</td>
        	  <td class="w22" style="width:22px">60+</td>
        	  <td class="w22" style="width:22px">73+</td>
        	  <td class="w22" style="width:22px">81+</td>
        	  <td class="w22" style="width:22px">85+</td>
        	  <td class="w22" style="width:22px">88+</td>
        	  <td class="w22" style="width:22px">91+</td>
        	  <td class="w22" style="width:22px">94+</td>
        	  <td class="w22" style="width:22px">97+</td>
        	  <td class="w22" style="width:22px">100+</td>
        	  <td class="w22" style="width:22px">104+</td>
        	  <td class="w22" style="width:22px">111+</td>
        	  <td class="w22" style="width:22px">123+</td>
        	  <td class="w22" style="width:22px">142+</td> 
        	  <td class="w22" style="width:22px">0</td>
        	  <td class="w22" style="width:22px">1</td>
        	  <td class="w22" style="width:22px">2</td>
        	  <td class="w22" style="width:22px">3</td>
        	  <td class="w22" style="width:22px">4</td>
        	  <td class="w22" style="width:22px">5</td>
        	  <td class="w22" style="width:22px">6</td>
        	  <td class="w22" style="width:22px">7</td>
        	  <td class="w22" style="width:22px">8</td>
        	  <td class="w22" style="width:22px">9</td> 
   	      </tr>
        </table>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
        <%if (arlist != null && arlist.Count > 0)
          {
              for (int i = 0; i < arlist.Count; i++)
              {%>
        	<tr>
            	<td class="b_bg w55" style="width:55px"><%=arlist[i].LotteryQS%></td>
                <td class="y_bg" style="width:22px"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[0]%></td>
                <td class="y_bg" style="width:22px"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[1]%></td>
                <td class="y_bg" style="width:22px"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[2]%></td>
                <td class="y_bg" style="width:22px"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[3]%></td>
                <td class="y_bg" style="width:22px"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[4]%></td> 
                <td class="y_bg" style="width:23px"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[0]%></span></td>
                <td class="y_bg" style="width:23px"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[1]%></span></td>
                <td class="b_bg w25"><%=dtPaperList2.Rows[i][0]%></td>
                <%for (int j = 0; j < 15; j++)
                  { %>
                <td class="w22"  style="width:22px">  
                <%if (Convert.ToInt16(dtPaperList.Rows[i][j]) > 0)
                  { %>
                <div class="r_bg"><%=dtPaperList.Rows[i][j]%></div>
                <%} %>
                </td>
                <%} %> <%for (int j = 15; j < 25; j++)
                  { %>
               
                <td class="w25 b_bg" style="width:21px">
                <%if (dtPaperList.Rows[i][j]!="")
                  { %><div class="g_bg"><%=dtPaperList.Rows[i][j]%> </div>
                  <%} %></td> 
                <%} %>  
            </tr>  
            <%}
          }%>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
          	<tr>
            	<td rowspan="2" class="w60" style="width:275px"><strong>统计</strong></td> 
                <%for (int i = 0; i < 15;i++ ){ %>
                <td  class="w22 h92"  style="width:22px" >
                <div class="zs_z_bg" style="height:<%=TiaoxingDT[i]*100/jinqiCount%>px;"></div></td>
                <%} %> 
                 <%for (int i = 15; i < 25;i++ ){ %>
                <td  class="w25 b_bg"  style="width:24.5px;position: relative;">
                <div class="zs_z_bg" style="height:<%=TiaoxingDT[i]*100/jinqiCount%>px; position:absolute; left:5px; bottom:0; "></div></td>
                <%} %> 
                 
            </tr>
          	<tr>
              <td class="w22 red" style="width:22px">15+</td>
        	  <td class="w22 red" style="width:22px">40+</td>
        	  <td class="w22 red" style="width:22px">60+</td>
        	  <td class="w22 red" style="width:22px">73+</td>
        	  <td class="w22 red" style="width:22px">81+</td>
        	  <td class="w22 red" style="width:22px">85+</td>
        	  <td class="w22 red" style="width:22px">88+</td>
        	  <td class="w22 red" style="width:22px">91+</td>
        	  <td class="w22 red" style="width:22px">94+</td>
        	  <td class="w22 red" style="width:22px">97+</td>
        	  <td class="w22 red" style="width:22px">100+</td>
        	  <td class="w22 red" style="width:22px">104+</td>
        	  <td class="w22 red" style="width:22px">111+</td>
        	  <td class="w22 red" style="width:22px">123+</td>
        	  <td class="w22 red" style="width:22px">142+</td>  
          	  <td class="w25 b_bg" style="width:22px">0</td>
          	  <td class="w25 b_bg" style="width:22px">1</td>
          	  <td class="w25 b_bg" style="width:22px">2</td>
          	  <td class="w25 b_bg" style="width:22px">3</td>
          	  <td class="w25 b_bg" style="width:22px">4</td>
          	  <td class="w25 b_bg" style="width:22px">5</td>
          	  <td class="w25 b_bg" style="width:22px">6</td>
          	  <td class="w25 b_bg" style="width:22px">7</td>
          	  <td class="w25 b_bg" style="width:22px">8</td>
          	  <td class="w25 b_bg" style="width:22px">9</td>
       	    </tr>
          </table>
    </div>
    <!--Zoushi-->
</div>
    <div class="zs_infor"><%--说明：点击最后空行上的空格，可以帮助记录选号。--%></div>
<!--Content-->
    <uc1:Dianping ID="Dianping1" runat="server" />
    <uc2:ZouShi ID="ZouShi1" runat="server" />
<uc3:Friend ID="Friend1" runat="server" />
</asp:Content>

